<template>
  <div class="contentSingle flex">
    <img :src="item.avatar">
    <div>
      <p class="name">{{ item.name }}</p>
      <div class="content">
        <a href="#">{{ item.content }}</a>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "contentSingle",
  props: {
    item: {
      type: Object
    }
  }
}
</script>

<style lang="less" scoped>
.contentSingle {
  padding: .2rem;

  img {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .2rem;
  }

  .name {
    font-size: .4rem;
    color: #444444;
    margin-bottom: .2rem;
  }

  .content {
    padding: .2rem;
    font-size: .5rem;
    width: 7rem;
    background-color: #fff;
    border-radius: .4rem;
  }
}
</style>